package com.landian.commons.base.converter;

/**
 * ConverterBuilder
 *
 * @author caojl
 * @create 2017/12/18
 **/
public class ConvertBuilder {

    public static <S,T> Convert<S,T> build(Class<S> srcClass, Class<T> targetClass){
        return build(srcClass,targetClass,null);
    }

    public static <S,T> Convert<S,T> build(Class<S> srcClass, Class<T> targetClass, ConvertHandler<S,T> handler){
        return new CommonConvert(srcClass,targetClass,handler);
    }
}
